package org.liux.android.game.jumpgame;

import org.liux.android.game.jumpgame.operation.GameView;

import android.app.Activity;
import android.os.Bundle;
import android.view.Display;
import android.view.Window;
import android.view.WindowManager;

public class JumpGameActivity extends Activity {
    /** Called when the activity is first created. */
	GameView gameView;
//	int screenWidth, screenHeight;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE); 
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN , WindowManager.LayoutParams.FLAG_FULLSCREEN);


		gameView = new GameView(this);
        
		setContentView(gameView);
		
//		this.screenWidth = getWindowManager().getDefaultDisplay().getWidth();
//		this.screenHeight = getWindowManager().getDefaultDisplay().getHeight();
//		
//		setContentView(R.layout.game);
//		gameView = (GameView)findViewById(R.id.gameView);
//		gameView.surfaceStarted(screenWidth, screenHeight);
    }
}